/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.univcasa.managing;

import com.univcasa.db.model.CompteEtudiant;
import com.univcasa.db.model.ComptePersonnel;
import com.univcasa.db.model.Criteres;
import com.univcasa.db.model.MoodleFlag;
import java.util.List;

/**
 *
 * @author issam
 */
public interface MoodleDBManager {

    public void addStd2MoodleSync(CompteEtudiant std);
    public void addPers2MoodleSync(ComptePersonnel std);

    public void deleteStdFromMoodleSync(String apogee);
    public void deleteStdFromMoodleSync(CompteEtudiant std);
    public void deletePersFromMoodleSync(ComptePersonnel std);

    public MoodleFlag getFlagById(String id,String type);
    public List getListComptesMoodle(Criteres crits);

    public boolean isExistInMoodle(String uid);
}
